<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript"
	src="http://code.jquery.com/jquery-latest.js"></script>
</head>
<body>
	<script type="text/javascript">
		$(document).ready(function() {
			$.ajax({
				url : "http://localhost:8080/login?username=user&password=password",
				type: "POST",
				success : function(data) {
					console.log(data);
				}
			});
		});
	</script>
	<img alt="a" src="/generateCaptchaImage">
</body>
</html>